package com.yh.ldzl.service.impl;

import com.yh.ldzl.mapper.HomeMapper;
import com.yh.ldzl.service.HomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
    public class HomeServiceImpl implements
        HomeService {

    @Autowired
    private HomeMapper homeMapper;

    @Override
    public int selectPlanCompletionRate() {
        return homeMapper.selectPlanCompletionRate();
    }

    @Override
    public int selectSteelCoil() {
        return homeMapper.selectSteelCoil();
    }

    @Override
    public int selectAbnormalNumber() {
        return homeMapper.selectAbnormalNumber();
    }

    @Override
    public List<Map<String, Object>> selectProductionProductTracking() {
        return homeMapper.selectProductionProductTracking();
    }

    @Override
    public int selectSbEquipmentEnable() {
        return homeMapper.selectSbEquipmentEnable();
    }

    @Override
    public List<Map<String, Object>> LineChart() {
        return homeMapper.LineChart();
    }

    @Override
    public List<Map<String, Object>> PieChart() {
        return homeMapper.PieChart();
    }
}
